package com.aaa.docter.controller.api;

import com.aaa.docter.service.SchedulingService;
import com.aaa.docter.vo.SchedulingDto;
import com.aaa.docter.vo.SchedulingVo;
import com.aaa.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @program: aaa-his-parent
 * @description:
 * @author: 闫克起2
 * @create: 2023-12-09 11:12
 **/
@RestController
@RequestMapping("/docter/api/scheduling")
public class SchedulingController {


    @Autowired
    private SchedulingService schedulingService;

    @PostMapping("/list")
    public Result<Map<String,Object>> list(@RequestBody SchedulingVo schedulingVo){
            return schedulingService.findScheduling(schedulingVo);
    }
}
